﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Optimization;

namespace WeChat.Web
{
    public class BundleConfig
    {
        /// <summary>
        /// 资源打包
        /// </summary>
        /// <param name="bundles"></param>
        public static void RegisterBundles(BundleCollection bundles)
        {
            #region js

            /* 示例
            bundles.Add(
                new ScriptBundle("/bundles/base").Include(
                "~/Scripts/jquery-1.11.2.min.js"));
            */

            #endregion

            #region css

            /* 示例
            bundles.Add(
                new StyleBundle("/Content/base").Include(
                "~/Content/base.min.css"));
            */

            #endregion

            #region 业务js

            /* 示例
            bundles.Add(
                new ScriptBundle("/bundles/test").Include(
                "~/Scripts/test/index.js",
                "~/Scripts/test/edit.js",
                "~/Scripts/test/delete.js"));
            */

            #endregion
        }
    }
}